var expect = chai.expect;

describe('StringUtil', function() {
    it('checkArr', function() {
        expect(game.StringUtil.checkArr(["a"],["a"])).to.be.true;
        expect(game.StringUtil.checkArr(["a","b","c"],["a","b","c"])).to.be.true;
        expect(game.StringUtil.checkArr(["a","b","c"],["c","b","a"])).to.be.true;
        expect(game.StringUtil.checkArr(["a","b","c"],["a","b","b"])).to.be.false;
        expect(game.StringUtil.checkArr(["a","b","c"],["a","b","b"])).to.be.false;
        expect(game.StringUtil.checkArr(["a","b","c"],["a","b"])).to.be.false;
        expect(game.StringUtil.checkArr(["a","b","c"],[])).to.be.false;
        expect(game.StringUtil.checkArr([],[])).to.be.false;
        expect(game.StringUtil.checkArr(null,[])).to.be.false;
        expect(game.StringUtil.checkArr(undefined,[])).to.be.false;
    });
});
